<template>
  <div id="top-header">
    
    <div class="center-title">校园视力检测大数据</div>
  </div>
</template>

<script>
export default {
  name: 'TopHeader'
}
</script>

<style lang="less" scoped>
#top-header {
  position: relative;
  width: 100%;
  height:86px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  background:url(../assets/img/header-bg.jpg) no-repeat center center;
} 
  .header-center-decoration {
    width: 40%;
    height: 60px;
    margin-top: 30px;
  }

  .header-left-decoration, .header-right-decoration {
    width: 25%;
    height: 60px;
  }

  .center-title {
    position: absolute;
    font-size: 38px;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    color:#01c4f7;
  }

</style>
